﻿namespace io.gitee.springsongs
{
    internal class Program
    {
        static void Main(String[] args)
        {
            //定义变量
            int a = 1;
            int b = 2;
            int value = a + b;
            Console.WriteLine("value="+value);
            //先定义变量再赋值
            int i;
            i = 20;
            Console.WriteLine("i=" + i);
            //同时定义多个变量
            int x = 30, y = 40;
            Console.WriteLine("x=" + x + "\ny=" + y);
        }
    }
}

